home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / hobby / gndemo.zip / GUNDB.HLP < prev    next >
Text File  |  1993-03-26  |  7KB  |  201 lines

  1.  
  2.     The gun database will allow the user to enter
  3.     relevant data about any gun, then the data
  4.     can be retrieved at any time. Records can be
  5.     inserted, deleted, and edited. Once the record
  6.     has been selected, the user can show a picture
  7.     tied to the gun data, find another record,
  8.     browse the database or quit the database.
  9.     The database files are located in the GUN \ DB
  10.     directory. The data record has the following
  11.     format:
  12.  
  13.   Manufacturer:
  14.   Address:
  15.   Type:
  16.   Caliber:
  17.   Model:
  18.   Model2:
  19.   Picture:
  20.   100 %: (value)
  21.   98 %:
  22.   95 %:
  23.   90 %:
  24.   80 %:
  25.   70 %:
  26.   60 %:
  27.   50 %:
  28.   Notes: (3 lines)
  29.  
  30.   As you may have surmised, the database will be
  31.   PARTIALLY filled with existing pictures but any
  32.   number of pictures and or gun records can be
  33.   added. When you want to add or delete pictures
  34.   to view, simply edit the "Pic" field. This is
  35.   the user's database. It will be as good as the
  36.   user makes it by enhancing the data. Arren-San
  37.   Software will continue to upgrade all included
  38.   databases and make regular updates available.
  39.   The gun database currently has about 7000
  40.   entries. The actual upper limit for any Gun Data
  41.   Manager database is about one billion records.
  42.  
  43.     While in the existing database, you can request
  44.   to access another database, while closing the
  45.   current db. The commands can be invoked by moving
  46.   the arrow keys to the desired selection and
  47.   pressing <Enter>. To exit the database, simply
  48.   choose Quit, or enter q <Enter> and y for yes at
  49.   the prompt.
  50.  
  51.     The database one person keeps can be read and
  52.   used by anyone using this db. Utilities also
  53.   transform files into and out of *.dbf format
  54.   (dBase files) ( See tools below). Finally, just
  55.   about any format picture file can be input and
  56.   viewed by the included computer graphics viewer.
  57.  
  58.  
  59.    The actual database functions are as follows:
  60.  
  61.     Use database - the program starts up in GUN1
  62.     Use index    - default is manuf., type, model
  63.     Create database - for new databases
  64.     Create index - sort records in a different ways
  65.     Head - first database record
  66.     Tail - last database record
  67.     Browse - search database forward - summary
  68.     Next - next record
  69.     Curr - current record
  70.     Prev - previous record
  71.     Find - search by sort criteria
  72.     Add - add a new record
  73.     Edit - change an existing record
  74.     Delete - delete an existing record
  75.     Show - displays the image in the PIC field.
  76.     Print - Print Inventory, Purchases or Sales.
  77.     Show field names
  78.     Show index names
  79.     Show index definition
  80.     Quit
  81.  
  82.  
  83.   The SHOW function has a limitation that must be
  84.   adhered to. For viewing images from within the
  85.   database, GDS will only allow approximately 10
  86.   images per session. After 10 showings of any
  87.   combination of images, the viewer stops working.
  88.   Simply exit the database, re-enter the database,
  89.   FIND where you were previously and continue. The
  90.   database SHOW function is for limited quick
  91.   reference, not viewing the entire picture base.
  92.   The suggestion is to use PICTURES (and LIB???
  93.   pictures) to take in the beauty of the pictures.
  94.   This is a viewer limitation and beyond the
  95.   control of Arren-San Software.
  96.  
  97.  
  98.   DATABASE TOOLS
  99.  
  100.   See Texts for additional database tools tips
  101.  
  102.   This set of procedures is applicable to any Gun
  103.   Data Manager database.
  104.  
  105.   Any database needs basic maintenence procedures,
  106.   and Gun Data Manager is no exception. Five
  107.   different tools are included, but only pressdb
  108.   can be invoked from within the application. These
  109.   procedures will be so little used that direct
  110.   access is a waste of program memory. To use these
  111.   tools, simply go to the database directory,
  112.   GUN \ DB and enter the tool desired.
  113.  
  114.     These procedures, in order of relative
  115.   importance, and the necessary parameters are as
  116.   follows:
  117.  
  118.  
  119.   DATABASE COMPRESSION
  120.  
  121.   PRESSDB.EXE
  122.  
  123.   This tool will compress and rewrite ( clean up )
  124.   the database. This is usually only necessary when
  125.   heavy alterations have been made to a database.
  126.   One instance where this is not true is when the
  127.   database can only be accessed up to a certain
  128.   point, but more data definitely exists. At that
  129.   point, possibly a record has been corrupted or an
  130.   index pointer is set incorrectly. A good rule of
  131.   thumb is to run pressdb.exe after the addition or
  132.   deletion of about 200 records, when a database is
  133.   obviously not functioning properly, or when the
  134.   database is performing noticeably slower than it
  135.   has previously.
  136.  
  137.   This can be accomplished from within the 
  138.   application by selecting "Compress" from the 
  139.   Database menu. All four included databases will
  140.   be rewritten with the proper index for each.
  141.   Pressdb can be run stand-alone for an individual
  142.   database, or for a database added by the user.
  143.  
  144.   To run pressdb.exe first go to the GUN \ DB
  145.   subdirectory. Simply type "pressdb db", where db
  146.   is the database desired. For example, "pressdb
  147.   invent" will rewrite the inventory database. If
  148.   the user simply types "pressdb", the program will
  149.   prompt for the database desired.
  150.  
  151.      As with any utility, ALWAYS MAKE A BACKUP OF
  152.   THE FILE BEING MANIPULATED BEFORE MANIPULATING.
  153.   For sensitive databases, make floppy backups, as
  154.   the data manager can always be restored; the
  155.   user's data, in the event of some disk malady,
  156.   cannot.
  157.  
  158.  
  159.   DATABASE EXTRACT
  160.  
  161.   DUMPDATA.EXE
  162.  
  163.    Dumpdata will extract all data from the database
  164.   and display to the screen or redirect to a disk
  165.   file. This is a raw dump where all that comes out
  166.   is each database record, with fields listed in
  167.   database order, delimited by a "|". A dump of the
  168.   gun database would look like this:
  169.  
  170.   Stk # | Manuf | Model | Year | Serial # | etc.
  171.  
  172.   The dump will use any database and index desired.
  173.   The syntax is as follows:
  174.  
  175.   Dumpdata database index [>outfile].
  176.  
  177.   For example, if the user simply types "dumpdata"
  178.   the program will prompt for the database desired,
  179.   then the index desired ( the default is the
  180.   physical index, or how the data was entered ).
  181.   For example, "dumpdata gun1 manumod >gundb" would
  182.   dump the Gun database using the manumod index and
  183.   create a file named gundb.
  184.  
  185.   DATABASE IMPORT AND EXPORT
  186.  
  187.   DBTODBF.EXE
  188.   DBFTODB.EXE
  189.  
  190.   If the user currently uses dBase, or something
  191.   compatible, these utilities will convert data
  192.   from dBase to Gun Data Manager (dbftodb) or vice
  193.   versa (dbtodbf). The syntax is "dbftodb" or
  194.   "dbtodbf". Both have extensive prompts due to the
  195.   information required ( file from, file to, how to
  196.   handle data, etc ). These functions are included
  197.   but not supported by Arren-San, and added as an
  198.   accomodation only.
  199.  
  200.  
  201.